package com.renjian.spring.day06.test;

import com.renjian.spring.day06.service.UserService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;

//指定现在所用的Junit版本
//@ExtendWith(SpringExtension.class)
//@ContextConfiguration("classpath:bean1.xml")
@SpringJUnitConfig(locations = "classpath:bean.xml")
public class Junit5t {


    @Autowired
    private UserService userService;
    @Test
    public void test(){
        userService.accountMoney();
    }

}
